<?php

use EasyPhpWeb\CoreService;
use EasyPhpWeb\EasyModel;

require_once __DIR__ . './vendor/autoload.php';

//加载路由
require_once './Config/Route.php';

//加载配置
$config = require_once './Config/config.php';

$db = new EasyModel();
$db->init([]);

$app = new CoreService($config);

$app->run();